package com.base.po.acess;

/**
 * token令牌
 * 
 * 用户通过上传父类ID以及手机号码生成令牌
 * 
 * 令牌放在http请求头上，进行无参操作
 * 
 * token令牌过期时间24小时，需要用户重新使用令牌获取接口进行重新获取新的token
 * 
 * @author Administrator
 *
 */
public class AcessToken {
	private String parentid;
	private String mobile;
	private long currenttime;

	public AcessToken() {
		super();
	}

	public AcessToken(String parentid, String mobile) {
		super();
		this.parentid = parentid;
		this.mobile = mobile;
		this.currenttime = System.currentTimeMillis();
	}

	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public long getCurrenttime() {
		return currenttime;
	}

	public void setCurrenttime(long currenttime) {
		this.currenttime = currenttime;
	}

}
